#ifndef CSGBOX_H
#define CSGBOX_H

#include "csgsolid.h"
#include <iostream>

using namespace std;

class CSGBox : public CSGSolid
{
private:
    double m_fXMin , m_fXMax , m_fYMin , m_fYMax , m_fZMin , m_fZMax; //Half planes which define the box.

public:
    CSGBox(double fXMin , double fXMax , double fYMin , double fYMax , double fZMin , double fZMax);
    double evaluateEquation(XYZ p);
};

#endif // CSGBOX_H
